package com.alks.function.data.request.finance.ryfinance;

import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class MtlPreOtherUpRequest {
    /*定位数据*/

    @ApiModelProperty(value = "订单类型(旧)")
    private String purTypeOld;

    @ApiModelProperty(value = "指令")
    private String orderId;

    @ApiModelProperty(value = "订单号")
    private String purNo;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "订购日期")
    private LocalDateTime purDate;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "物料ID")
    private String mtlNo;

    /*修改数据*/

    @ApiModelProperty(value = "订单类型(新)")
    private String purType;

    @ApiModelProperty(value = "物料名称")
    private String mtlName;

    @ApiModelProperty(value = "物料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "物料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "物料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "订购数量")
    private BigDecimal purQty;

    @ApiModelProperty(value = "采购备注")
    private String remark;

    @ApiModelProperty(value = "结算厂商ID(上方输入框)")
    private String vendorNo2New;

    @ApiModelProperty(value = "结算厂商名称(上方输入框)")
    private String vendorName2New;

    @ApiModelProperty(value = "对账月份（上方输入框）")
    private String financeRecYymmNew;

    @ApiModelProperty(value = "对账备注（上方输入框）")
    private String financeAccMemoNew;

    @ApiModelProperty(value = "1.对账 0.取消对账（不是对账就不传）")
    private Integer financeFlag;

}
